﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OSA.Policlinic.UI.WFApplicationWCF.RegistryServiceReference
{
    public  partial class Address : BusinessObjectBase
    {
     

        public Address(int id, string postIndex, string country, string city, string street, string house,
            string flat, bool isDeleted):base(id, isDeleted)
        {
            
            PostIndexField = postIndex;
            CountryField = country;
            CityField = city;
            StreetField = street;
            HouseField = house;
            FlatField = flat;
        }

        public override string ToString()
        {
            return this.Country + " " + this.City + " " + this.Street + " " + this.House + " " + this.FlatField;
        }

        public Address(string postIndex, string country, string city, string street, string house, string flat)
        {
            PostIndexField = postIndex;
            CountryField = country;
            CityField = city;
            StreetField = street;
            HouseField = house;
            FlatField = flat;
        }

      
    
    }
}
